<template>
  <div style="height:100%">
    <changhandling @routerL="routerL" @routerR="routerR"></changhandling>
    <router-view @cN="chanageN" @wt="chanageN" style="height:100%"></router-view>
  </div>
</template>

<script>
export default {
    data() {
        return {
            ndata: true
        }
    },
    methods: {
        // 点击子组件查看详情触发建议
        routerL() { // 待处理路由跳转
            this.$router.push('/pending')
        },
        routerR() { // 已处理路由跳转
            this.$router.push('/pendingsuccess')
        },
        chanageN() { // 点击子组件查看详情触发建议
            this.$emit('cnt')
        }
    },
    components: {
        changhandling: () => import('../../components/staff/changhandling.vue'), // 处理选择
    },
    created() {
        this.load = false
    }
}
</script>

<style>
.demo-spin-container{
    display: inline-block;
    width: 50%;
    height: 50%;
    position: relative;
    margin: 0 auto;
}
</style>
